<template>
	<view>
		<view>
			<image :src="data.images_list" class="baiyi1"></image>
		</view>
		<button class="button">
			<view style="font-size: 20rpx;color: white;justify-content: center;margin-top: -5rpx;">{{data.title}}</view>
		</button>
		
		<view class="text">
			<text v-html="data.content"></text>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:[]
			}
		},
		methods: {
			
		},
		onLoad(e) {
			uni.request({
				url: 'https://baiyi.kent.work/api/v1/system/getCompanyInfoWx',
				method: 'post',
				data: {},
				success: res => {
					console.log(res);
					this.data=res.data.data
				},
				fail: () => {},
				complete: () => {}
			});
		}
	}
</script>

<style>
.baiyi1 {
			height: 450rpx;
			width: 750rpx;
		}
		.button{
			display: flex;
			align-items: center;
			/* width: 164rpx; */
			width: 350rpx;
			height: 56rpx;
			border-radius: 30rpx;
			background-color: green;
			margin-top: 30rpx;
			flex-direction: column;
		}
		.text{
			text-align: justify;
			word-spacing: 2px;
			letter-spacing: 0.5px;
			text-indent: 2em;
			opacity: 0.8;
			/* 等比例缩小百分之八十 */
			transform: scale(.8);
		}
</style>
